package com.zyw.teacher.login.service.impl;

import com.zyw.teacher.login.entity.Resource;
import com.zyw.teacher.login.mapper.ResourceMapper;
import com.zyw.teacher.login.service.IResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author: zyw
 * @Date: 2018/12/14
 */
@Service
public class ResourceServiceImpl implements IResourceService {

    @Autowired
    private ResourceMapper mapper;

    @Override
    public List<Resource> getAllResource() {
        return mapper.getAllResource();
    }
}
